
#include <math.h>
double degToRad(float deg)
{
	//printf("Deg: %d zu Rad: %lf\n", deg, (deg * 0.017453293));
	//return (deg * 0.017453293);
	return deg * M_PI /180 ;
}

//umwandeln von rad zu grad
double radToDeg(float rad)
{
	double deg = 0;
	deg = (180.0 * rad) / M_PI ;
	return deg;
}

